using FluentValidation;
	
namespace VehicleModule.Api.Model
{
    /// <summary>
    ///日志表 验证类
    /// </summary>
    public class LogCreateRequestValidator : AbstractValidator<LogCreateRequest>
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public LogCreateRequestValidator()
        {
            RuleFor(s => s.Description).NotEmpty().Length(0, 100);
        }
    }
}
